//
//  Date+Extension.swift
//  IPlan
//
//  Created by Mike on 18/06/2017.
//  Copyright © 2017 codeFighter.com. All rights reserved.
//

import Foundation

extension Date {

    func getCurrentDateString() -> String {
        
        let dateFormatter = DateFormatter.init()
        dateFormatter.dateFormat = "yyyy:MM:dd"
        let dateString = dateFormatter.string(from: self)
        return dateString
        
    }
}
